package com.atom.common.entity.bo;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Title: CallSubDiagram
 * Description: 针对征求意见的流程图数据结构
 * @author WEWE
 * @date 2016年9月5日 上午10:02:00
 * @version 1.0
 */
public class CallSubDiagram implements Serializable {

  /** serialVersionUID*/
  private static final long serialVersionUID = 1L;
  
  private String id;
  
  private String name;
  
  private String assignee;
  
  private Map<String, Object> data;
  
  private List<CallSubDiagram> children;

  public CallSubDiagram() {
    super();
    this.data = new HashMap<String, Object>();
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Map<String, Object> getData() {
    return data;
  }

  public void setData(String key, Object value) {
    this.data.put(key, value);
  }

  public List<CallSubDiagram> getChildren() {
    return children;
  }

  public void setChildren(List<CallSubDiagram> list) {
    this.children = list;
  }

  public String getAssignee() {
    return assignee;
  }

  public void setAssignee(String assignee) {
    this.assignee = assignee;
  }
  
}
